package model

type TopicCategory struct {
	TopicId    int `json:"topic_id" form:"topic_id" gorm:"column:topic_id;comment:话题id"`
	CategoryId int `json:"category_id" form:"category_id" gorm:"column:category_id;comment:分类id"`
}

func (TopicCategory) TableName() string {
	return "topic_category"
}
